# function Get-ExistingAzureDatabaseName {
#     [CmdletBinding()]
#     param (
#         [Parameter(Mandatory = $true)][string[]]$ExistingDatabases,
#         [Parameter(Mandatory = $false)][string]$DatabaseName,
#         [Parameter(Mandatory = $false)][bool]$ConfirmAll = $false
#     )

#     # Allow user to use existing value or to update it.
#     if ((Confirm-SingleValue -Description 'Existing Azure SQL Database' -Value $DatabaseName -ConfirmAll $ConfirmAll) -eq $true) { return $DatabaseName }

#     $params = @{
#         Question = 'Which existing Azure SQL Database do you choose'
#         Options = $ExistingDatabases
#     }

#     return Open-LSQuestion @params
# }